package com.ds.infra.rpc.example.weather;

import com.ds.infra.rpc.annotation.EnableRpc;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@EnableRpc(scanBasePackages = "com.ds.infra.rpc.example.weather.service.impl", autoRegisterService = true)
@SpringBootApplication
@Slf4j
public class WeatherApplication {

    public static void main(String[] args) {
        SpringApplication.run(WeatherApplication.class, args);
        log.info("==== WeatherApplication started");
    }

}
